//
//  UIColor+Extension.swift
//  weibopush
//
//  Created by 龚欣 on 15/7/3.
//  Copyright © 2015年 gong. All rights reserved.
//

import UIKit

extension UIColor{

    class func randomColor() -> UIColor{
        return UIColor(red: random(), green: random(), blue: random(), alpha: 1.0)
    }
    
   private class func random() -> CGFloat{
    return CGFloat(arc4random_uniform(256))/255
    }
}